<extend name="Tool@Index:index" />
<block name="title">物品购买</block>
<block name="header"></block>
<block name="aside"></block>
<block name="content">

    <style>

        .star-bar-show{background:url(__HUI__/images/iconpic-star-S-default.png) repeat-x 0 0}
        .star-bar-show .star{background:url(__HUI__/images/iconpic-star-S.png) repeat-x 0 0;}
        .star-1{width:20%;}
        .star-2{ width:40%}
        .star-3{width:60%;}
        .star-4{ width:80%}
        .star-5{ width:100%}
        .star-bar-show.size-M{width:120px;height:24px}
        .star-bar-show.size-M,.star-bar-show.size-M .star{background-size:24px}
        .star-bar-show.size-M .star{ height:24px}
        .star-bar-show.size-S{width:80px; height:16px}
        .star-bar-show.size-S,.star-bar-show.size-S .star{background-size:16px}
        .star-bar-show.size-S .star{ height:16px}
        .star-bar{font-size:0;line-height: 0}
        .star-bar .star{display: inline-block;float: left}

    </style>
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 交易管理 <span class="c-gray en">&gt;</span> 异常管理 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
    <div class="page-container">

        <form method="get" >
             
            <input type="text" name="id"  placeholder="搜ID" style="width:150px" class="input-text" value=<{$_GET['id']}>> 
            <input type="text"  name="day"   class="input-text"  placeholder="2017-11-18" style="width:120px;">


            <button name=""   class="btn btn-success" type="submit"><i class="Hui-iconfont">&#xe665;</i> 搜用户</button>
        </form>



        <div class="mt-20">
            <table class="table table-border table-bordered table-hover table-bg table-sort">
                <thead>
                <thead>
                <tr class="text-c">
                    <th width="60">编号</th>
                    <th width="100">用户</th>
                    <th width="250">机器名</th>
                    <th width="80">数量</th>
                    <th width="50">类型</th>
                    <th width="80">基数</th>
                    <th width="80">利率</th>
                    <th width="80">时间</th>

                    <!--<th width="25"><input type="checkbox" name="" value=""></th>-->
                </tr>
                </thead>
                </thead>
                <tbody>
                <volist name="list" id="vo">
                    <tr class="text-c">
                        <td><{$vo.id}></td>
                        <td><{$vo.userid}></td>
                        <td><{$vo.animal_on}></td>
                        <td><{$vo.number}></td>
                        <td>
                            <!-- 0为正常收益，1为下级收益, 2表示签到领取,3表示赠送吧,4提取奶茶5表示被赠送6,6直推奖励-->
                            <eq name="vo.type" value="0">生产</eq>
                            <eq name="vo.type" value="1">下级</eq>
                            <eq name="vo.type" value="2">签到</eq>
                            <eq name="vo.type" value="3">赠送</eq>
                            <eq name="vo.type" value="4">提取奶茶</eq>
                            <eq name="vo.type" value="6">直推</eq>
                            <eq name="vo.type" value="7">系统奖励</eq>
                            <eq name="vo.type" value="8">激活奖励</eq>

                        </td>
                        <td><{$vo.basenum}></td>
                        <td><{$vo.ratio}></td>
                        <td>
                            <eq name="vo.create_time" value="0">-
                                <else />
                                <{$vo.create_time|date="Y-m-d H:i",###}>
                            </eq>

                        </td>
                    </tr>
                </volist>
                </tbody>
            </table>


			<div class="mt10">
			<div class="page_list"><{$page}> </div>
		</div>



        </div>
    </div>

</block>


<block name="js">
    <script type="text/javascript" src="__LIB__/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="__LIB__/lib/layer/2.1/layer.js"></script>
    <script type="text/javascript" src="__LIB__/lib/laypage/1.2/laypage.js"></script>
    <script type="text/javascript" src="__LIB__/lib/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="__LIB__/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
    <script type="text/javascript" src="__HUI__/js/H-ui.js"></script>
    <script type="text/javascript" src="__HUI__/js/H-ui.admin.js"></script>
<style>
		/*分页类*/
		.page_list {
			float: left;
			position: relative;
			left: 50%;
			clear: both;
			padding: 18px 0 10px 0;
			text-align: center;
		}
		.page_list .p_l {
			position: relative;
			float: left;
			left: -50%;
		}
		.page_list a, .disabled, .page_list .current, .page_list .pageinfo {
			color: #403F3D;
			padding: 0 11px 0 0;
			height: 32px;
			display: block;
			float: left;
			line-height: 32px;
			line-height: 34px\9;
			_line-height: 32px;
			text-decoration: none;
			margin: 0 2px;

		}
		.page_list a:hover {
			color: #333;
			font-weight: normal;
			background-position: right -230px;
			text-decoration: none;
		}
		.page_list .current {
			font-weight: bold;
			background-position: right -190px;
			color: #666;
		}
		.page_list .pageinfo {
			color: #666;
			background-position: right -330px;
			margin-right: 4px;
		}
		.page_list u {
			width: 3px;
			display: block;
			height: 32px;
			float: left;
			padding-right: 9px;
			*padding-right:9px;
			_padding-right: 5px;
			overflow: hidden;

		}
		.page_list .current u {
			background-position: 0 -190px;
		}
		.page_list a:hover u {
			background-position: 0 -230px;
		}
		.page_list .pageinfo u {
			background-position: 0 -330px;
		}
		.page_list .disabled {
			color: #999;
		}
		.page_list .one, .page_list .last {
			display: none;
		}
	</style>
</block>
